package com.ecjtu.stadiumre_servations.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ecjtu.stadiumre_servations.entity.domain.GroupMember;
import com.ecjtu.stadiumre_servations.entity.domain.GroupRecord;
import com.ecjtu.stadiumre_servations.entity.dto.GroupRecordDTO;
import com.ecjtu.stadiumre_servations.response.Result;

import java.time.LocalDateTime;

public interface GroupRecordService {
     Result createGroup(String userid, String activityId, LocalDateTime bookingStartTime,LocalDateTime bookingEndTime);
     Result joinGroup(String userId, String activityId);

     Result getGroupByVenueId(Page<GroupRecord> page, String venueId);
     Result listGroup(Page<GroupRecord> page);
}
